//
//  CustomButtonItem.h
//  CloudsOutpatient
//
//  Created by zouzhisheng on 16/1/30.
//  Copyright © 2016年 HC. All rights reserved.
//

#import <UIKit/UIKit.h>
#define itemWH 40
#define itemTitleColor [UIColor colorWithHexString:@"242424"]    //item里标题默认颜色
#define selectedItemTitleColor [UIColor colorWithHexString:@"F35959"]  // item被选中时标题的颜色
#define itemTitleFont [UIFont systemFontOfSize:10]  //item 标题 字体font
#define badgeValueViewImageName @"badge_one@2x.png" //小红圈 背景图片名称
#define badgeValueViewImageNameMore @"badge_more@2x.png" //小红圈 背景图片名称
#define badgeValueFont [UIFont systemFontOfSize:10]  //小红圈里字体的大小
#define badgeValueColor [UIColor whiteColor] //小红圈里字体的颜色
#define badgeValueViewWH itemWH * 0.4  //小红圈的大小
@interface CustomButtonItem : UIButton
- (id)initWithFrame:(CGRect)frame norImage:(NSString*)norImage selectedImage:(NSString*)selectedImage titile:(NSString*)title;
@property (nonatomic, strong) UIButton *badgeValueView;
@property (nonatomic,assign)BOOL isNormal;
@property (nonatomic,assign)BOOL forHome;
- (void)setItemBadgeNumber:(NSInteger)number;
@end
